package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.TenantOrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TenantOrderInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TenantOrderInfo record);

    int insertSelective(TenantOrderInfo record);

    TenantOrderInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantOrderInfo record);

    int updateByPrimaryKey(TenantOrderInfo record);

    List<TenantOrderInfo> listAllOrderInfos(Map<String, Object> map);

    List<Map> listAllOrderInfosNoTu(Map<String, Object> map);

    long listAllOrderInfosCount(Map<String, Object> map);

    long findOrderCount(String admin_uuid);
    long findOrderCountByUserUuid(String user_uuid);

    List<TenantOrderInfo> listOrderInfo(Map<String, Object> map);

    int insertOrderInfo(TenantOrderInfo record);

    Map<String, Long> getUserOrderCount(Map<String, Object> map);

    List<Map<String,Object>> getAllPsyEmail(Map<String, Object> map);
}